﻿<%@ Page Title="About" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="About.aspx.vb" Inherits="webfinancegdrassign4.About" %>
 <%--Smart Money Saver -  Project for University of Herts--%>
 <%--Date: 01 December 2013--%>   
 <%--Version 1--%>
 <%--Project Brief Description - This is a Smart Money Saver asp.net product using VB.net. It is intended to be used by Smart Money Savers  who want to make and save money and earn a certain amount for themselves--%>
 <%--Program Brief Description - This is the about site program file. It gives you basic text information about what this site is about. --%>
 <%--Changes - Removed current Text --%>
 <%--Changes - Added in a grid view field, connection field to database and table smartinvesto_info and field - about_website. It actually selects data from database to page--%>

 <%--Update 1 -  23rd December 2013--%>
 <%--Update 2 -  28th December 2013--%>
 <%--Update 3 -  01 Jan 2014 - About.aspx - Gene Da Rocha - update - select url location for images on page.  --%>
 <%--03 Jan 2014 - About.aspx - Gene Da Rocha - update - Change Table Name to SMS_INFO from smartinvestor_info.  --%>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <header>
        <br />
        <br />
        <br />
        <h1><%: Title %></h1>
        <p class="lead">

           <%--Changes - Grid View and connection to database to select data Gene Da Rocha - 28th Dec 2013--%>
            
            <%--01 Jan 2014 - About.aspx - Gene Da Rocha - update - select url location for images on page.  --%>



            <asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource001" AutoGenerateColumns="False" BorderStyle="None" GridLines="None" ShowHeader="False">
                <Columns>
                    <asp:BoundField DataField="about_website" />
                </Columns>
            </asp:GridView>

            <asp:GridView ID="GridView2" runat="server" DataSourceID="SqlDataSource002" AutoGenerateColumns="False" BorderStyle="None" GridLines="None" ShowHeader="False">
                <Columns>
                <asp:ImageField DataImageUrlField="about_image1" ControlStyle-Height="183" ControlStyle-Width="275">
                    <ControlStyle CssClass="image" />
                </asp:ImageField>

                <asp:ImageField DataImageUrlField="about_image2" ControlStyle-Height="183" ControlStyle-Width="275">
                        <ControlStyle CssClass="image" />
                 </asp:ImageField>

                 <asp:ImageField DataImageUrlField="about_image3" ControlStyle-Height="183" ControlStyle-Width="275">
                        <ControlStyle CssClass="image" />
                 </asp:ImageField>

                </Columns>
            </asp:GridView>
             <%--03 Jan 2014 - About.aspx - Gene Da Rocha - update - Change Table Name to SMS_INFO from smartinvestor_info.  --%>
            <asp:SqlDataSource ID="SqlDataSource002" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString002 %>" ProviderName="<%$ ConnectionStrings:ConnectionString002.ProviderName %>" SelectCommand="SELECT [about_image1], [about_image2], [about_image3]  FROM [sms_info] Where id=1"></asp:SqlDataSource>
            <asp:SqlDataSource ID="SqlDataSource001" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString001 %>" ProviderName="<%$ ConnectionStrings:ConnectionString001.ProviderName %>" SelectCommand="SELECT [about_website] FROM [sms_info]"></asp:SqlDataSource>
    </header>
    
    </asp:Content>
